# 导包
import unittest
import config
from scripts.test01_home import TestHome
from htmltestreport import HTMLTestReport
from scripts.test02_goods import TestGoodsAPI
# 组装测试套件
suite = unittest.defaultTestLoader.loadTestsFromTestCase(TestHome)
suite.addTest(unittest.makeSuite(TestGoodsAPI))

# 创建运行器
runner = HTMLTestReport(config.BASE_PATH + "/report/ego.html")
# 运行
runner.run(suite)
